//
//  Check.h
//  CarCare
//
//  Created by ileo on 14-8-12.
//  Copyright (c) 2014年 baozun. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Check : NSObject

+(BOOL)isNoNull:(NSString *)string;

+(BOOL)isTel:(NSString *)tel;

+(BOOL)isDevice:(NSString *)device;
+(BOOL)isDeviceCode:(NSString *)deviceCode;

+(BOOL)isPWD:(NSString *)pwd;

+(BOOL)isAli:(NSString *)ali;
+(BOOL)isIDCard:(NSString *)idCard;

+(BOOL)isCode:(NSString *)code;

+(BOOL)hasViolationTime;

//车牌号验证
+(BOOL)isNumOrBigASCII:(NSString *)string;
+(BOOL)isNumOrBigASCIILength:(NSString *)string;

//车架号验证
+(BOOL)isNumOrBigASCIICarFrame:(NSString *)string;
+(BOOL)isNumOrBigASCIICarFrameLength:(NSString *)string;
//发动机号
+(BOOL)isNumOrBigASCIIEngionNO:(NSString *)string;
+(BOOL)isNumOrBigASCIIEngionNOLength:(NSString *)string;

+(BOOL)isVisiter;

@end
